package GPool

import (
	"sync"
	"time"
)

var RUNNING byte = 1
var FREE byte  = 0

type worker struct {
	status byte
	work *task
	mux sync.Mutex
	heartTime time.Time
}

func (w *worker) run() {
	w.work.do()
}